//
//  UIFont+FontSize.h
//  GYVVUser
//
//  Created by yangfan on 2019/1/16.
//  Copyright © 2019 gongyou04. All rights reserved.
//

#define kPingFangFontOfSize(size) [UIFont pingFangFontOfSize:size]
#define kBoldPingFangFontOfSize(size) [UIFont boldPingFangFontOfSize:size]
/**
 平方字体 weight
 
 //苹方-简 中黑体 PingFangSC-Medium
 //苹方-简 中粗体 PingFangSC-Semibold
 //苹方-简 细体 PingFangSC-Light
 //苹方-简 极细体 PingFangSC-Ultralight
 //苹方-简 常规体 PingFangSC-Regular
 //苹方-简 纤细体 PingFangSC-Thin
 */
typedef NS_ENUM(NSUInteger, GYFontWeight) {
    /**
     常规体*/
    GYFontWeightRegular,
    /**
     中黑体*/
    GYFontWeightMedium,
    /**
     中粗体*/
    GYFontWeightSemibold,
    /**
     细体*/
    GYFontWeightLight,
    /**
     极细体*/
    GYFontWeightUltralight,
    /**
     纤细体*/
    GYFontWeightThin,
};
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIFont (FontSize)
+ (UIFont *)pingFangFontOfSize:(CGFloat)fontSize;
+ (UIFont *)boldPingFangFontOfSize:(CGFloat)fontSize;
@end

NS_ASSUME_NONNULL_END
